package com.csun.cmny.provider.model.domain;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "cn_dmc_csun_camera_picture")
public class DmcCsunCameraPicture {

    /**
     * 设备Id
     */
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 设备编号
     */
    @Column(name = "device_no")
    private String deviceNo;

    /**
     * 任务Id
     */
    @Column(name = "task_id")
    private String taskId;

    /**
     * 铃声类型 0 amr
     */
    private String format;

    /**
     * base64图片文件
     */
    private byte[] picture;

    /**
     * 图片url
     */
    @Transient
    private String pictureUrl;
}